package com.example.bootDemo.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 创建web类
 */
@RestController
@Api(value = "IndexController", tags = "测试工程首页类")
public class IndexController {

    /**
     * @Description 测试工程首页
     */
    @GetMapping("/")
    @ApiOperation(value = "接口的功能介绍", notes = "提示接口使用者注意事项", httpMethod = "GET")
    public String index() {
        return "springBootDemo index";
    }

}
